package com.eb.mapper;

import com.eb.pojo.BargainGoods;
import com.eb.pojo.BargainGoodsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BargainGoodsMapper {
    int countByExample(BargainGoodsExample example);

    int deleteByExample(BargainGoodsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BargainGoods record);

    int insertSelective(BargainGoods record);

    List<BargainGoods> selectByExample(BargainGoodsExample example);

    BargainGoods selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") BargainGoods record, @Param("example") BargainGoodsExample example);

    int updateByExample(@Param("record") BargainGoods record, @Param("example") BargainGoodsExample example);

    int updateByPrimaryKeySelective(BargainGoods record);

    int updateByPrimaryKey(BargainGoods record);
}